package column


import (
	"github.com/treelab/updatecolumn/models"
)


  func instanceType() in32{
    return models.Checkbox
  }

 func deleteColumnEdges() {

  }

  func convertColumn(
    command: UpdateColumn_v2,
    o: CommonOptions,
    helper: { rows?: Row[]; columnCopy?: Column; referenceColumns?: Column[]; userGroup?: any },
  ) {
    const { column } = command;
    if (column.columnType === ColumnType.CHECKBOX) {
      return this;
    }

    await this.defaultConvert({ command }, o, helper);
    return this;
  }

  public hasNothingToUpdate(command: UpdateColumn_v2) {
    const { column } = command;
    return column.columnType === this.instanceType;
  }

